]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Unselect search button if there is search result
authorMaxim Ermilov <zaspire@rambler.ru>
Mon, 24 Jan 2011 23:38:16 +0000 (02:38 +0300)
committerMaxim Ermilov <zaspire@rambler.ru>
Wed, 26 Jan 2011 01:38:18 +0000 (04:38 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=640464

js/ui/searchDisplay.js

index 45fccd6ea5addd1574c83953dd97d09eeed1a680..3ed60ad5e824af2471a99e5546a6606c472435b7 100644 (file)
@@ -309,6 +309,8 @@ SearchResults.prototype = {
             this._statusText.set_text(_("No matching results."));
             this._statusText.show();
         } else {
+            this._selectedOpenSearchButton = -1;
+            this._updateOpenSearchButtonState();
             this._statusText.hide();
         }